﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace BasicData.Infrastructure.Migrations
{
    public partial class lohnm2 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "Suppliers",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "SlaughterInfos",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "SlaughterCompanies",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "ProductionInfos",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "Processings",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "ProcessingCompanies",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "ImageInfos",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "BreedingInfos",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "BreedingHealthInfos",
                newName: "OperatedBy");

            migrationBuilder.RenameColumn(
                name: "operatedBy",
                table: "BreedingCompanies",
                newName: "OperatedBy");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "Suppliers",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "SlaughterInfos",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "SlaughterCompanies",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "ProductionInfos",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "Processings",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "ProcessingCompanies",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "ImageInfos",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "BreedingInfos",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "BreedingHealthInfos",
                newName: "operatedBy");

            migrationBuilder.RenameColumn(
                name: "OperatedBy",
                table: "BreedingCompanies",
                newName: "operatedBy");
        }
    }
}
